package com.nbgroup.mapper;

import com.nbgroup.pojo.User;
import com.nbgroup.pojo.common.LoginInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from user where user_name=#{username} and password=#{password}")
    User login(LoginInfo loginInfo);
}
